From: Robbie VanVossen Date: Wed, 6 Mar 2013 16:08:08 +0000 (+0100) Subject: change arguments of do_kexec_op and compat_set_timer_op prototypes X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~7140 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=17b65c793ca5e924f355d433945d868b4427ea12;p=xen.git change arguments of do_kexec_op and compat_set_timer_op prototypes ... to match the actual functions. Signed-off-by: Robbie VanVossen Also make sure the source files defining these symbols include the header declaring them (had we done so, the problem would have been noticed long ago). Signed-off-by: Jan Beulich Acked-by: Keir Fraser --- diff --git a/xen/common/kexec.c b/xen/common/kexec.c index 7b04c1cff4..1ba85564db 100644 --- a/xen/common/kexec.c +++ b/xen/common/kexec.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include diff --git a/xen/common/schedule.c b/xen/common/schedule.c index de111105c4..5f677c36f8 100644 --- a/xen/common/schedule.c +++ b/xen/common/schedule.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include diff --git a/xen/include/xen/hypercall.h b/xen/include/xen/hypercall.h index 7c3d71949d..a9e522937d 100644 --- a/xen/include/xen/hypercall.h +++ b/xen/include/xen/hypercall.h @@ -126,8 +126,7 @@ do_hvm_op( extern long do_kexec_op( unsigned long op, - int arg1, - XEN_GUEST_HANDLE_PARAM(void) arg); + XEN_GUEST_HANDLE_PARAM(void) uarg); extern long do_xsm_op( @@ -174,7 +173,8 @@ compat_sched_op( extern int compat_set_timer_op( - s_time_t timeout); + u32 lo, + s32 hi); #endif